export const rules = {
  name: [
    {
      required: true,
      message: 'The name is required',
      trigger: 'blur',
    },
    {
      pattern: /^[a-z0-9A-Z-_+'";:]{1,200}$/,
      message: 'Please enter a correct project name',
      trigger: 'blur',
    },
  ],
  location: [
    {
      required: true,
      message: 'The location is required',
      trigger: 'blur',
    },
  ],
  financeAmount: [
    {
      required: true,
      message: 'The amount is required',
      trigger: 'blur',
    },
    {
      pattern: /^\d+$/,
      message: 'Please enter the correct amount',
      trigger: 'blur',
    },
  ],

  projectDe: [
    {
      required: true,
      message: 'The detail is required',
      trigger: 'blur',
    },
  ],
}
